'''
Created on 30.01.2012

@author: myaut
'''


import sys
import faulthandler

sys.path.append('../../lib')

from salsa.coresvc.logger import Logger, LoggerSeverity

logger = Logger('Test', 4010)

try:
    for x in range(4):
        logger.log(LoggerSeverity.LS_INFO, 'Test log request %d' % x)
    for x in range(4):
        logger.log(LoggerSeverity.LS_DEBUG, 'Test log request %d' % x)
    for x in range(4):
        logger.log(LoggerSeverity.LS_CRITICAL, 'Test log request %d' % x)
finally:
    logger.stop()